<template>
	<div class="form-control">
		<el-form :model="user" label-width="auto" style="width: 100%">
			<el-form-item label="原密码">
				<el-input
					 v-model="user.oldPassword"
					 type="password"
					 placeholder="请输入原密码"
				  />
			</el-form-item>
			<el-form-item label="新密码">
				<el-input
					 v-model="user.password"
					 type="password"
					 placeholder="请输入新密码"
				  />
			</el-form-item>
			<el-form-item label="确认密码">
				<el-input
					 v-model="user.oldPassword"
					 type="password"
					 placeholder="请再次输入新密码"
				  />
			</el-form-item>
			
		</el-form>
	</div>
</template>

<script>
export default {
	data(){
		return {
			user: {
				oldPassword: "",
				password: "",
				password2: ""
			}
		}
	}
}
</script>

<style scoped>
.form-control {
	padding: 30px 30px 10px;
}
</style>